public abstract class Animals {
    public String name;
    public int age;
    public String color;

    public abstract void eat();
    public Animals(String name,int age,String color){
        this.name = name;
        this.age = age;
        this.color = color;
    }
}
